<?php
require_once "./config.php"; 

$router = new Lib_Application;
$member = $router->Run();
$member['init'] = 0;
    foreach ($member as $key => $value){
        
        $$key = $value;
    }
    
// шаблон 
require_once "./template/header.php";

$view=$router->getView();

include ($view);

require_once "./template/footer.php"

?>
    
